home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / mosaic / mosaic.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  6.2 KB  |  159 lines  |  [TEXT/ttxt]

  1.  
  2.           Anfy Mosaic - Copyright (C) by Fabio Ciucci 1998/99
  3.  
  4.  
  5. This applet can execute a tiling transition among any identically sized GIF 
  6. or JPG images.
  7.  
  8. This applet is based on the original code by Ibon Tolosana that is used under
  9. a licence.
  10.  
  11. The sample images used are by Fabio Ciucci.
  12.  
  13. ***************************************************************************
  14.  
  15. NECESSARY FILES.
  16.  
  17. As well as images for mosaix effect and a background and/or a foreground 
  18. images, the following 3 ".class" files must be uploaded: 
  19.  
  20. mosaic.class
  21. Lware.class
  22. anfy.class
  23.  
  24. Plus, mosaic.jar for speedy loading on recent browsers.
  25.  
  26. **************************************************************************
  27.  
  28. EXAMPLE.
  29.  
  30. Insert the <applet></applet> tag in your html document as follows to add
  31. this applet to your page (Comments after the ";" symbol are code 
  32. descriptions and acceptable min/max values. They are not part of the applet
  33. language):
  34.  
  35.  
  36. <applet archive="mosaic.jar" code="mosaic.class" width="240" height="266">
  37. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  38. <param name="regcode" value="NO">          ; Registration code (if you have it)
  39. <param name="regnewframe" value="YES">     ; Reglink opened in new frame?
  40. <param name="regframename" value="_blank"> ; Name of new frame for reglink
  41. <param name="res" value="1">               ; resolution (1-8)
  42. <param name="image1" value="imfad1.gif">   ; Image 1 to load
  43. <param name="image2" value="imfad2.gif">   ; Image 2 to load
  44. <param name="image3" value="imfad3.gif">   ; Image 3 to load
  45. <param name="link1" value="http://www.anfyteam.com"> ; link 1
  46. <param name="link2" value="NO">                      ; link 2
  47. <param name="link3" value="NO">                      ; link 3
  48. <param name="statusmsg1" value="anfy 1"> ; statusbar msg on image 1
  49. <param name="statusmsg2" value="anfy 2"> ; statusbar msg on image 2
  50. <param name="statusmsg3" value="anfy 3"> ; statusbar msg on image 3
  51. <param name="pause" value="1500">        ; pause (value = milliseconds).
  52. <param name="tileswidth" value="8">    ; Num. of horizontal tiles
  53. <param name="tilesheight" value="10">  ; Num. of vertical tiles
  54. <param name="tilesteps" value="16">    ; Num. steps for tile rotation (8 .. 32)
  55. <param name="backimage" value="NO">    ; Optional background image
  56. <param name="backr" value="64">        ; Red in background (0 .. 255)
  57. <param name="backg" value="96">           ; Green in background (0 .. 255)
  58. <param name="backb" value="160">          ; Blue in background (0 .. 255)
  59. <param name="overimg" value="NO">         ; Optional image over applet
  60. <param name="overimgX" value="0">         ; Over image X offset
  61. <param name="overimgY" value="0">         ; Over image Y offset
  62. <param name="memdelay" value="1000">      ; Memory deallocation delay
  63. <param name="priority" value="3">          ; Task priority (1..10)
  64. <param name="MinSYNC" value="10">          ; Min. milliseconds/frame for sync
  65. Sorry, your browser doesn't support Java ; Msg in no java browsers
  66. </applet>
  67.  
  68. ********************************************************************
  69.  
  70. INSTRUCTIONS.
  71.  
  72.  
  73. The following instructions describe how to change parameters:
  74.  
  75. The images (GIF and/or JPG) can be of any size, but all image dimensions
  76. must be identical.
  77.  
  78. Attempting to change the credits parameter will disable the applet.
  79. To activate the reg parameters read the shareware registration notes.
  80. In the "regcode" parameter, place the registration code you purchased
  81. from the author. If the code is correct and the applet is run from the
  82. registered domain name, you can use "link" parameters to link to a URL
  83. when the applet is "clicked".
  84.  
  85. If you set "regnewframe" to "YES", you can specify a specific frame 
  86. location for the reglink:
  87.  
  88. "_blank"  : To load the link in a new blank unnamed browser window.
  89. "_self"   : To load the link into the same window the applet occupies.
  90. "_parent" : To load the link into the immediate FRAMESET parent.
  91. "_top"    : To load the link into the top body of the window.
  92.  
  93. You can also set a custom frame name, such as "myframe1".
  94.  
  95. With the "overimg" parameter you can specify the name of an image that will
  96. be painted over the applet. The best options are transparent GIF images.
  97. NOTE: Animated GIF images are supported, but will be animated only on 
  98. latest browsers (Netscape 4 and Explorer 4 or newer).
  99.  
  100. With "overimgX" and "overimgY" you can center the image over the applet 
  101. area.
  102.  
  103. Applet size is determined by "res": "res=1" shows the graphic at natural 
  104. size, "res=2" shows it at double size, etc.
  105.  
  106. It is important to update the width and height tags, otherwise the applet
  107. will not display properly on browsers.
  108.  
  109. You must set the applet size a bit greater than images size, since tiles
  110. rotation needs extra space.
  111.  
  112. The Anfy wizard calculates automatically the extra offset needed.
  113.  
  114. The number of images to have in the tiling slideshow is unlimited, but
  115. the minimum is 2.
  116.  
  117. If you want to tile between just 2 images, type:
  118.  
  119. <param name=image1 value="imfad1.gif">
  120. <param name=image2 value="imfad2.gif">
  121.  
  122. If you want to tile between 3 images, type:
  123.  
  124. <param name=image1 value="imfad1.gif">
  125. <param name=image2 value="imfad2.gif">
  126. <param name=image3 value="imfad3.gif">
  127.  
  128. Repeat the code for each image. 
  129.  
  130. You can change the displayed message for each image in the "statusmsg"
  131. code. "Statusmsg1" is the message displayed in the first image, 
  132. "statusmsg2" the second image, etc.
  133.  
  134. When you purchase and register the applet, the "link1","link2", etc.
  135. parameters will be enabled and this applet can become a mosaic banner as
  136. follows:
  137.  
  138. <param name=link1 value="http://(name of link">
  139. <param name=link2 value="http://(name of link">
  140.  
  141. You can place a URL link related to each image.
  142.  
  143. The pause, in milliseconds, determines the "hold" time for images between
  144. the fades.
  145.  
  146. With "tileswidth" and "tilesheight" you can change the number of horizontal
  147. and vertical tiles.
  148.  
  149. With "tilesteps" (values from 8 to 32) you can change the rotation speed of
  150. tiles.
  151.  
  152. With "backr", "backg" and "backb" parameters, you can control the RED, GREEN
  153. and BLUE components of the background colour.
  154.  
  155. You can optionally load a background image, placing its name on the
  156. "backimage" parameter. This image must be the same size as the applet if
  157. res=1. If it is res=2, it must be half the size of the applet, and so on.
  158.  
  159.